<?php
namespace Tbf\Third\Pay\Alipay;
use Symfony\Component\EventDispatcher\Event as BaseEvent;
/**
 * @deprecated
 */
class Event extends BaseEvent
{
    protected $data;
    public function __construct($data)
    {
        $this->data = $data;
    }
    /**
    * 订单状态
    */
    public function getTradeStatus()
    {
        return $this->data['trade_status'];
    }
    /**
    * 支付宝订单号
    */
    public function getAlipayTradeNo()
    {
        return $this->data['trade_no'];
    }
    /**
    * 商家订单号
    */
    public function getMerchantTradeNo()
    {
        return $this->data['out_trade_no'];
    }
    public function getMoney()
    {
        return $this->data['total_fee'];
    }
}
